package com.czl.lunt.service;

import com.czl.lunt.model.User;

public interface UserService {
    //根据用户名查询信息
    User selectByUserName(String userName);

    void createUser(User user);

    User login(String userName, String password);

    User selectById(Long id);

    //用户帖子数加一的方法
    void addOneArticleById(Long id);

    void subOneArticleById(Long id);
}
